<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>精品网-欢迎登录</title>
<link rel="icon" href="images/a.ico" type="image/x-icon" />
<link rel="shortcut icon" href="images/a.ico">
<link rel="Bookmark" href="images/a.ico">
<link href="css/login/base.css" rel="stylesheet" type="text/css">
<link href="css/login/common-si.css" rel="stylesheet" type="text/css">
<link href="css/login/login-form.css" rel="stylesheet" type="text/css">
<link href="css/login/login-banner.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.12.3.js"></script>
<script type="text/javascript" src="js/user/cookie_code.js"></script>
<script type="text/javascript">
	$(function() {
		var name_right = false;
		$("#loginname").blur(function() {
			var name = $(this).val().trim();
			if (name != "") {
				var phone =  /^1[3|4|5|8]\d{9}$/;
				var email = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
				if (phone.test(name) || email.test(name)) {
					name_right = true;
				} else {
					$("#nametip").show().delay(1000).hide(0);$("#nametip").show().delay(1000).hide(0);
				}
			}
		});
		$("#loginsubmit").click(function() {
			var lName = $("#loginname").val().trim();
			var lPass = $("#nloginpwd").val().trim();
			var redirectUrl = document.referrer;
			alert("redirectUrl: " + redirectUrl);
			if (lName != "" && lPass != "" && name_right) {
				$.ajax({
        			cache: false,
        			url:"log/login",
        			type: "POST",
        			data: {luser: lName, lpass: lPass},
        			dataType:"json",
        		    success: function(data) {
        		    	if (data.msg == "success") {
        		    		setCookie('lAlias',data.lalias,1);
            		    	setCookie('lName',data.luser,1);
            		    	setCookie('lPass',data.lpass,1);
            		    	location.href= redirectUrl != "" ? redirectUrl : "indexPicture";
        		    	}
        		    },
    				error: function() {
    					clearCookies(ck);
    				}
        		});
			};
		});
	});
</script>
</head>

<body>
	<div class="w">
    <div id="logo">
        <a href="">
        <img src="//img.zscaling.xyz:8080/logo/logo_08.jpg" alt="中华精品网" height="80" width="170">
        </a>
        <b></b>
    </div>
	</div>
    
    <div id="content">
    <div class="login-wrap">
        <div class="w">
            <div class="login-form">
                <div class="login-tab login-tab-r">
                    <a class="checked" href="javascript:void(0)" >账户登录</a>
                </div>
                <div style="visibility: visible;" class="login-box">
                    <div class="mt tab-h"></div>
                    <div class="msg-wrap">
                        <div class="msg-warn"><b></b>公共场所不建议自动登录，以防账号丢失</div>
                        <div style="display: none;" class="msg-error hide"><b></b></div>
                    </div>
                    <div class="mc">
                       	<div class="form">
                           <form id="formlogin" action="log/login" method="post" > 
                           <div class="item item-fore1">
                               <label for="loginname" class="login-label name-label"></label>
                               <input id="loginname" class="itxt" name="loginname" autocomplete="off" tabindex="2" placeholder="邮箱/已验证手机" type="text">
                               <span class="clear-btn"></span>
                           </div>
                           <div style="visibility: visible;" id="entry" class="item item-fore2">
                               <label class="login-label pwd-label" for="nloginpwd"></label>
                               <input id="nloginpwd" name="nloginpwd" class="itxt itxt-error" tabindex="2" autocomplete="off" placeholder="密码" type="password">
                               <span class="clear-btn"></span>
                            </div>
                            <div class="item item-fore3">
                            	<div class="safe">
                                  <span>
                                    <input id="autoLogin" name="chkRememberMe" class="jdcheckbox" tabindex="3" type="checkbox">
                                    <label for="">自动登录</label>
                                  </span>
                                  <span class="forget-pw-safe">
                                  <a href="" class="" target="_blank" >忘记密码</a>
                                  </span>
                                </div>
                           </div>
                                
                           <div id="o-authcode" class="item item-vcode item-fore4">
                             <input style="ime-mode: disabled;" id="authcode" class="itxt itxt02" name="authcode" tabindex="5" type="text">
                             <img id="JD_Verification1" class="verify-code" src="//img.zscaling.xyz:8080/TMP/code.png" onclick="">
                             <a href="javascript:void(0)" onclick="">看不清楚换一张</a>
                            </div>
                            <div class="item item-fore5">
                               <div class="login-btn">
                                 <a href="JavaScript:void(0);" class="btn-img btn-entry" id="loginsubmit" tabindex="6">登&nbsp;&nbsp;&nbsp;&nbsp;录</a>
                               </div>
                            </div>
                            </form>
                        </div>
                    </div>
                </div>
                <div class="coagent" style="display: block; visibility: visible;">
                    <ul>
                      <li class="extra-r">
                        <div>
                         	<div class="regist-link">
                            <a href="" target="_blank"><b></b>立即注册</a>
                            </div>
                        </div>
                      </li>
                    </ul>
                </div>
           </div>
        </div>
        <!-- 背景图片开始 -->
        <div class="login-banner" style="background-color: #d43843">		              
            <div class="w">			         
            <div id="banner-bg" class="i-inner" style="background: url(//img.zscaling.xyz:8080/login_face.jpg) 0px 0px no-repeat;background-color: #d43843"></div>		              
            </div>		           
        </div>
        <!-- 背景图片结束 -->
    </div>
</div>

<div class="w">
  <div class="ar"><a href="" target="_blank" class="q-link"><b></b>登录页面，调查问卷</a>
  </div>
</div>

<div class="w">
    <div id="footer-2013">
        <div class="links">
            <a rel="nofollow" target="_blank" href="//www.jd.com/intro/about.aspx">
                关于我们
            </a>
            |
            <a rel="nofollow" target="_blank" href="//www.jd.com/contact/">
                联系我们
            </a>
            |
            <a rel="nofollow" target="_blank" href="//zhaopin.jd.com/">
                人才招聘
            </a>
            |
            <a rel="nofollow" target="_blank" href="//www.jd.com/contact/joinin.aspx">
                商家入驻
            </a>
            |
            <a rel="nofollow" target="_blank" href="//www.jd.com/intro/service.aspx">
                广告服务
            </a>
            |
            <a rel="nofollow" target="_blank" href="//app.jd.com/">
                手机京东
            </a>
            |
            <a target="_blank" href="/links.vm/club.jd.com/links.aspx">
                友情链接
            </a>
            |
            <a target="_blank" href="//media.jd.com/">
                销售联盟
            </a>
            |
            <a href="//club.jd.com/" target="_blank">
                京东社区
            </a>
            |
            <a href="//gongyi.jd.com" target="_blank">
                京东公益
            </a>
            |
            <a target="_blank" href="//en.jd.com/">English Site</a>
        </div>
        <div class="copyright">
            Copyright&nbsp;©&nbsp;2004-2016&nbsp;&nbsp;京东JD.com&nbsp;版权所有
        </div>
    </div>
</div>

</body>
</html>
